package org.linlinjava.litemall.db.dao;

import java.util.List;

import com.github.yulichang.base.MPJBaseMapper;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.domain.LumiereLevelMember;
import org.linlinjava.litemall.db.domain.LumiereLevelMemberExample;

public interface LumiereLevelMemberMapper extends MPJBaseMapper<LumiereLevelMember> {
    long countByExample(LumiereLevelMemberExample example);

    int deleteByExample(LumiereLevelMemberExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(LumiereLevelMember record);

    int insertSelective(LumiereLevelMember record);

    LumiereLevelMember selectOneByExample(LumiereLevelMemberExample example);

    LumiereLevelMember selectOneByExampleSelective(@Param("example") LumiereLevelMemberExample example, @Param("selective") LumiereLevelMember.Column ... selective);

    List<LumiereLevelMember> selectByExampleSelective(@Param("example") LumiereLevelMemberExample example, @Param("selective") LumiereLevelMember.Column ... selective);

    List<LumiereLevelMember> selectByExample(LumiereLevelMemberExample example);

    LumiereLevelMember selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LumiereLevelMember.Column ... selective);

    LumiereLevelMember selectByPrimaryKey(Integer id);

    LumiereLevelMember selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") LumiereLevelMember record, @Param("example") LumiereLevelMemberExample example);

    int updateByExample(@Param("record") LumiereLevelMember record, @Param("example") LumiereLevelMemberExample example);

    int updateByPrimaryKeySelective(LumiereLevelMember record);

    int updateByPrimaryKey(LumiereLevelMember record);

    int logicalDeleteByExample(@Param("example") LumiereLevelMemberExample example);

    int logicalDeleteByPrimaryKey(Integer id);
}